using UnityEngine;
using UnityEngine.Video;

[RequireComponent(typeof(VideoPlayer))]
public class VideoManager : ManagerBase
{
    VideoPlayer videoPlayer;
    public override void OnAwake()
    {
        base.OnAwake();
        videoPlayer = GetComponent<VideoPlayer>();
    }
    public override void OnShow()
    {
        base.OnShow();
        videoPlayer.Play();
    }
}
